package com.tiger.communal.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;


/**
 * 水电分历史对象 hydropower_submeter_alter
 *
 * @author standard
 * @date 2022-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "hydropower_submeter_alter对象", description = "水电分历史内容")
public class HydropowerSubmeterAlter extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 水电分表id
     */
    @Excel(name = "水电分表id")
    @ApiModelProperty(value = "水电分表id")
    private Long hydropowerSubmeterId;

    /**
     * 总表id
     */
    @Excel(name = "总表id")
    @ApiModelProperty(value = "总表id")
    private Long hydropowerId;

    /**
     * 1-水分表  2-电分表
     */
    @Excel(name = " 1-水分表  2-电分表")
    @ApiModelProperty(value = " 1-水分表  2-电分表")
    private String type;

    /**
     * 示数
     */
    @Excel(name = "示数")
    @ApiModelProperty(value = "示数")
    private String degree;

    /**
     * 抄表图片
     */
    @Excel(name = "抄表图片")
    @ApiModelProperty(value = "抄表图片")
    private String meterReadPicture;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "1-升序 2-降序")
    private Long rank;

    private Long num;

    @ApiModelProperty(value = "上次示数")
    private Float lastMonthDegree;

    @ApiModelProperty(value = "上月用量  总用量")
    private Float lastMonthNum;


}
